@layout('layout2')

@section('page-content')
<script type="text/javascript">
    var currentTime = "{{ time() }}",
        baseUrl = "{{ URL::base() }}";
    $.getJSON(baseUrl + "/api/result/" + currentTime, function (response) {
        console.log(response);
    });
</script>
@endsection